package cn.dzhy.myzf.qq;

import cn.dzhy.myzf.qq.email.EmailProxy;
import cn.dzhy.myzf.qq.email.model.Group;
import cn.dzhy.myzf.qq.email.model.Party;
import cn.dzhy.myzf.qq.email.model.User;
import cn.dzhy.myzf.qq.email.model.UserStatus;
import cn.dzhy.myzf.qq.email.token.EmailTokenCreator;
import cn.dzhy.myzf.qq.email.util.EmailConfigUtil;
import com.alibaba.fastjson.JSONObject;
import com.foxinmy.weixin4j.cache.FileCacheStorager;
import com.foxinmy.weixin4j.cache.MemcacheCacheStorager;
import com.foxinmy.weixin4j.exception.WeixinException;
import com.foxinmy.weixin4j.http.weixin.ApiResult;
import com.foxinmy.weixin4j.http.weixin.WeixinResponse;
import com.foxinmy.weixin4j.model.Token;
import com.foxinmy.weixin4j.model.WeixinAccount;

import java.math.BigInteger;
import java.util.ArrayList;
import java.util.List;

public class test {


    public static void main(String[] args) throws WeixinException {







        WeixinAccount log = EmailConfigUtil.getWeixinAccount("weixin4j.account");


        EmailProxy emailProxy = new EmailProxy(log, new FileCacheStorager<Token>());

		User user = emailProxy.getUser("yangzhuangfei_min@odao.com");
		System.out.println(user.getCpwd_login());







    }
}
